package com.sk.ccflower.lib.commonBeans;

import java.io.Serializable;
import java.sql.Connection;




public class BaseBean implements Serializable {
	
	private static final long serialVersionUID = 10000001L;
	
	// ** 중요한 사항 : 접근 지정자 반드시 private 선언 ( reflect 와 관련된 사항 )
	private Exception exp;
	
    public BaseBean() {
    	
    }

	public void setException(Exception e) {
		this.exp = e;
	}

	public Exception getException() {
		return exp;
	}
	
	public void throwException() throws Exception {
		if( this.exp != null )	throw exp;
	}
	
	public static void main(String[] args) {
		
	}
	
}
